Skip to content

Conversation

@vidarl
Copy link
Contributor

@vidarl vidarl commented Oct 24, 2025

🎫 Issue IBX-10854

It is not possible to publish content in hidden state

For QA:

Documentation:

@vidarl vidarl changed the base branch from main to 4.6 October 24, 2025 12:22
Comment on lines +2531 to +2532
// If content is in draft state, mainLocationId is yet not set
if ($contentInfo->mainLocationId !== null) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is true, then a dedicated ContentInfo method should probably be introduced.

@sonarqubecloud
Copy link

Copy link
Member

@alongosz alongosz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIR this is by-design. There's no purpose to hiding content drafts because content drafts can be read by people with versionread policy, the same as hidden content can be accessed. Are you trying to fix some fatal error or enable hiding drafts? TL;DR;.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants